package cn.hy.preparelesson.oa.mapper;

import cn.hy.preparelesson.oa.entity.ScLesson;
import cn.hy.preparelesson.oa.entity.ScLessonExample;
import cn.hy.preparelesson.oa.entity.ScLessonWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScLessonMapper {
    long countByExample(ScLessonExample example);

    int deleteByExample(ScLessonExample example);

    int deleteByPrimaryKey(String lessonId);

    int insert(ScLessonWithBLOBs record);

    int insertSelective(ScLessonWithBLOBs record);

    List<ScLessonWithBLOBs> selectByExampleWithBLOBs(ScLessonExample example);

    List<ScLesson> selectByExample(ScLessonExample example);

    ScLessonWithBLOBs selectByPrimaryKey(String lessonId);

    int updateByExampleSelective(@Param("record") ScLessonWithBLOBs record, @Param("example") ScLessonExample example);

    int updateByExampleWithBLOBs(@Param("record") ScLessonWithBLOBs record, @Param("example") ScLessonExample example);

    int updateByExample(@Param("record") ScLesson record, @Param("example") ScLessonExample example);

    int updateByPrimaryKeySelective(ScLessonWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ScLessonWithBLOBs record);

    int updateByPrimaryKey(ScLesson record);
}